package com.example.bit.spring_project.service;

import com.example.bit.spring_project.Massage.Massage;
import com.example.bit.spring_project.mapper.MassageMapper;
import com.example.bit.spring_project.model.MassageInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MassageService {
    @Autowired
    MassageMapper mapper;

    public List<MassageInfo>selectAll(){
        return mapper.selectAll();
    }

    public Integer addMassage(MassageInfo massageInfo){
       return mapper.addMassage(massageInfo);
    }

}
